package kit.msc;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import kit.msc.gui.MainFrm;
import kit.msc.utility.Preference;
import kit.msc.utility.RestartManager;

public class Timetable {

	public static void main(String[] args) {

		try {

			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

		} catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		new Preference();
		MainFrm frm = new MainFrm(null);
		frm.setVisible(true);

		RestartManager.init(frm);

	}

}
